export const rules = {
  nickName: [
    { required: true, message: '请输入姓名', trigger: 'change' }
  ],
  userName: [
    { required: true, message: '请输入学号', trigger: 'change' }
  ],
  idCard: [
    { required: true, message: '请输入身份证', trigger: 'change' }
  ],
  sex: [
    { required: true, message: '请选择性别', trigger: 'change' }
  ],
  dateOfBirth: [
    { required: true, message: '请选择出生日期', trigger: 'change' }
  ],
  telephone: [
    { required: true, message: '请输入手机号', trigger: 'change' }
  ],
  classroom: [
    { required: true, message: '请输入班级', trigger: 'change' }
  ],
  email: [
    { required: true, message: '请输入邮箱', trigger: 'change' }
  ],
  academicYear: [
    { required: true, message: '请输入学制', trigger: 'change' }
  ],
  culturalLevelId: [
    { required: true, message: '请选择学历', trigger: 'change' }
  ],
  admissionYear: [
    { required: true, message: '请选择入学时间', trigger: 'change' }
  ],
  nationalityId: [
    { required: true, message: '请选择民族', trigger: 'change' }
  ],
  politicalStatusId: [
    { required: true, message: '请选择政治面貌', trigger: 'change' }
  ],
  area: [
    { required: true, message: '请选择生源地', trigger: 'change' }
  ],
  homeAddress: [
    { required: true, message: '请输入家庭住址', trigger: 'change' }
  ]
}
